package com.ug_project.views

import android.app.Activity
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.widget.Toast

/**
 * Created by yeganaaa on 2/17/2017.
 */

fun Context.baseShowToast(text: String) : Unit = Toast.makeText(this, text, Toast.LENGTH_SHORT).show()
//fun Context.showLongToast(text: String) : Unit = Toast.makeText(this, text, Toast.LENGTH_LONG).show()
//val Context.layoutInflater: LayoutInflater
//get() = LayoutInflater.from(this)